package com.kingkim.electromechanical.usercenter.service;

import com.kingkim.electromechanical.commonutils.model.PageBean;
import com.kingkim.electromechanical.usercenter.model.po.User;
import com.kingkim.electromechanical.usercenter.model.vo.UserView;
import org.springframework.dao.DataAccessException;

import java.util.List;

public interface ILoginService {

    PageBean<UserView> QueryForList(int page, int limit, User user) throws DataAccessException;

    int DeleteForList(List<String> ids) throws DataAccessException;

    int SaveOrModify(User user) throws DataAccessException;
}
